package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.sms.Sms_Sku_Full_Reduction;
import com.shop.to.SkuByReductionTo;
import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.util.List;

/**
 * 商品满减
 */
public interface Sms_Sku_Full_Reduction_Service {


    void saveReductionBySku(SkuByReductionTo skuByReductionTo);//添加商品的全部优惠信息

    /**
     * 后台显示所有
     * @param pages
     * @param sms_sku_full_reduction
     * @return
     */
    LayuiUtils<Sms_Sku_Full_Reduction> find_sku_full_reduction(Page<Sms_Sku_Full_Reduction> pages, Sms_Sku_Full_Reduction sms_sku_full_reduction);

    /**
     * 新增
     * @param sms_sku_full_reduction
     * @return
     */
    //R insert_sku_full_reduction(Sms_Sku_Full_Reduction sms_sku_full_reduction);

    /**
     * 删除
     * @param id
     * @return
     */
    //R delete_sku_full_reduction(List<Long> id);

    /**
     * 修改
     * @param sms_sku_full_reduction
     * @return
     */
    //R update_sku_full_reduction(Sms_Sku_Full_Reduction sms_sku_full_reduction);
}
